package com.a16.yuejian.yuejian.activity;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ImageView;

import com.a16.yuejian.yuejian.R;

public class MyEditPwdActivity extends AppCompatActivity implements View.OnClickListener {
    private ImageView my_editpwd_back;
    private EditText my_editpwd_fresh,my_editpwd_queren;
    private Button my_editpwd_keep;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_my_edit_pwd);
        initView();
        initEvent();
    }

    private void initEvent() {
        my_editpwd_back.setOnClickListener(this);
    }

    private void initView() {
        my_editpwd_back = (ImageView)findViewById(R.id.my_editpwd_back);
        my_editpwd_fresh = (EditText)findViewById(R.id.my_editpwd_fresh);
        my_editpwd_queren = (EditText)findViewById(R.id.my_editpwd_queren);
        my_editpwd_keep = (Button)findViewById(R.id.my_editpwd_keep);
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()){
            case R.id.my_editpwd_back:
                finish();
                break;
        }
    }
}
